﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace fes
{
  class Perceptron
  {
    private double[] w;
    private List<double> inputs;
    private int n = 0; //number of inputs

    public Perceptron()
    {
    }

    public void setInputsNumber(int v)
    {
      n = v;
      w = new double[n];
    }

    public int getInputsNumber()
    {
      return n;
    }

    public void setInputs(List<double> i)
    {
      inputs = i;
    }

    // cp - current price
    // ep - expected price
    public void teach(double cp, double ep)
    {

    }

    private void adjustWeights()
    {

    }
  }
}
